package com.example.demo.mapper;

import com.example.demo.entity.PersonBean;
import com.example.demo.entity.PersonSearchBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PersonMapper {
    public List<PersonBean> personFindAll();

    boolean personUpdate(PersonBean personBean);

    boolean personInsert(PersonBean personBean);

    boolean personDelete(int id);

    public List<PersonBean> personSearch(PersonSearchBean personSearchBean);

    int personSearchCount(PersonSearchBean personSearchBean);
}
